import { Mappging,Controller } from "../core/annotation";
import { Response,Request } from "express";

@Controller('test')
export class TestController{
    @Mappging('get', '/run')
    test(req: Request, res: Response) {
        res.send('Test endpoint');
    }

    @Mappging('get')
    create(req: Request, res: Response) {
        res.send('Create endpoint');
    }
}